/*package br.com.stefanini.schs.ejb.entity;

import java.io.Serializable;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToOne;

@Entity
@NamedQueries({
	@NamedQuery(name = "LiderProjeto.consultarLiderProjetoEmail",query = "select lp from LiderProjeto lp where lp.email = :email")
})
public class LiderProjeto extends Profissional implements Serializable {

	private static final long serialVersionUID = 925445267995339636L;

	@Id
	@GeneratedValue
	@Column(name = "id")
	private long id;

	@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY, targetEntity = Projeto.class)
	private List<Projeto> projeto;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public List<Projeto> getProjeto() {
		return projeto;
	}

	public void setProjeto(List<Projeto> projeto) {
		this.projeto = projeto;
	}

}
*/